using System;

namespace ClassEntities
{
    [Serializable]
    public class tblKetQuaThi
    {
        private int stt;
        public int Stt
        {
            get { return stt; }
            set { stt = value; }
        }
        private string diemthi;
        public string Diemthi
        {
            get { return diemthi; }
            set { diemthi = value; }
        }
        private string ketqua;
        public string Ketqua
        {
            get { return ketqua; }
            set { ketqua = value; }
        }
        private int idLopHoc;
        public int IdLopHoc
        {
            get { return idLopHoc; }
            set { idLopHoc = value; }
        }
        private string tenMH;
        public string TenMH
        {
            get { return tenMH; }
            set { tenMH = value; }
        }
        private string thoigianlambai;
        public string Thoigianlambai
        {
            get { return thoigianlambai; }
            set { thoigianlambai = value; }
        }
        private string diemdat;
        public string Diemdat
        {
            get { return diemdat; }
            set { diemdat = value; }
        }
        private string diemtoida;
        public string Diemtoida
        {
            get { return diemtoida; }
            set { diemtoida = value; }
        }
        private string ghichu;
        public string Ghichu
        {
            get { return ghichu; }
            set { ghichu = value; }
        }
        private DateTime ngaythi;
        public System.DateTime Ngaythi
        {
            get { return ngaythi; }
            set { ngaythi = value; }
        }
        private string giothi;
        public string Giothi
        {
            get { return giothi; }
            set { giothi = value; }
        }
        private string tenKyThi;
        public string TenKyThi
        {
            get { return tenKyThi; }
            set { tenKyThi = value; }
        }
        public tblKetQuaThi()
        { }

        public tblKetQuaThi(int stt, string diemthi, string ketqua, int idLopHoc, string tenMH, string thoigianlambai, string diemdat, string diemtoida, string ghichu, DateTime ngaythi, string giothi, string tenKyThi)
        {
            this.stt = stt;
            this.diemthi = diemthi;
            this.ketqua = ketqua;
            this.idLopHoc = idLopHoc;
            this.tenMH = tenMH;
            this.thoigianlambai = thoigianlambai;
            this.diemdat = diemdat;
            this.diemtoida = diemtoida;
            this.ghichu = ghichu;
            this.ngaythi = ngaythi;
            this.giothi = giothi;
            this.tenKyThi = tenKyThi;
        }

        public override string ToString()
        {
            return this.stt + "; " + this.diemthi + "; " + this.ketqua + "; ";
        }
        public override bool Equals(Object obj)
        {
            tblKetQuaThi me = (tblKetQuaThi)obj;
            bool ret = this.Stt.Equals(me.Stt);
            return ret;
        }
        public override int GetHashCode()
        {
            return this.Stt.GetHashCode();
        }

    }
}